<?php
/*
*  Template Name: Страница Бизнесу
*/
get_header(); ?>
			
<script>
    $(function () {
	var el =  $('#slider img'),
		indexImg = 1,
		indexMax = el.length;
		
		function autoCange () {	
			indexImg++;
			if(indexImg > indexMax) {
				indexImg = 1;
			}			
			el.fadeOut(500);
			el.filter(':nth-child('+indexImg+')').fadeIn(500);
		}	
		setInterval(autoCange, 3000);	
});
</script>
<style>
.slider_wrap {
	margin: 0;
    height: 150px;
    position: relative;
    overflow: hidden;
}
.slider_wrap img {
	height:auto;
	display:none;
	position:absolute;
	top:0;
	left:0;	
}
.slider_wrap img:first-child {
	display:block;
}

</style>
   
			<div id="content" class="clearfix row">
			  <div id="main" class="col-md-8 clearfix" role="main">
                <?php while (have_posts()) : the_post(); ?>
                <article id="post-<?php the_ID(); ?>" class="post" role="article">
                    <h1 style="margin: -15px 0 0;"><?php the_title() ?></h1>
                    <div class="post_content">
                        <?php the_content() ?>
                    </div> <!-- end article section -->
                    <div class="clear"></div>
                </article> <!-- end article -->
                <?php endwhile; ?>
                    <?php 
                    wp_reset_postdata(); ?>
              </div>

            <div id="sidebar1" class="fluid-sidebar sidebar col-md-4" role="complementary">
                <div id="text-6" class="widget widget_text">
                    <div class="textwidget">
                        <ul class="sidebar_nav shadow">
                            <li>
                                <a id="call_link_sidebar" href="#contact_form" onclick="_gaq.push(['_trackEvent', 'consultation', 'clic'])">
                                    <img src="/wp-content/themes/ln2/library/img/contact.png"><?php if(get_locale() == 'ru_RU') { echo 'Заказать консультацию'; } else { echo 'Замовити консультацію'; } ?>
                                </a>
                            </li>
                        </ul>
                    </div>
                </div>
				<div id="text-8" class="widget widget_text">			
                    <div class="textwidget logotip">
                        <div class="right-menu-header" style="margin: -21px -21px 15px;"><span><?php if(get_locale() == 'ru_RU') { echo 'Наши клиенты'; } else { echo 'Наші клієнти'; } ?></span></div>
	<div id="slider" class="slider_wrap">
                        <img src="/wp-content/themes/ln2/library/img/garant.gif" />
                        <img src="/wp-content/themes/ln2/library/img/LogoTeleMir.gif" />
                        <img src="/wp-content/themes/ln2/library/img/TVbiz.gif" />
                        <img src="/wp-content/themes/ln2/library/img/DPS.gif" />
                        <img src="/wp-content/themes/ln2/library/img/sempal.gif" />
                        <img src="/wp-content/themes/ln2/library/img/zalp-01.gif" />
                        <img src="/wp-content/themes/ln2/library/img/Kyjavia.gif" />
                        <img src="/wp-content/themes/ln2/library/img/Megaline.gif" />
                        <img src="/wp-content/themes/ln2/library/img/Vozrozdenije.gif" />
                        <img src="/wp-content/themes/ln2/library/img/Artem-Bank-01.gif" />
    </div>
                    </div>
                </div>
                <div id="text-9" class="widget widget_text">			
                    <div class="textwidget"><!-- Place this tag where you want the badge to render. -->
                        <script type="text/javascript">
                            VK.init({
                                apiId: 3743264,
                                onlyWidgets: false
                            });
                        </script>
                        <!-- VK Widget -->
                        <div class="vk" style="margin-top: 0;margin-bottom: 10px;">
                            <div id="vk_groups"></div>
                        </div>
                        <script type="text/javascript">
                            VK.Widgets.Group("vk_groups", {mode: 0, width: "300", height: "250"}, 15993810);
                        </script>
                        <div style="background-color:white; border: 1px solid gainsboro; margin-bottom: 10px; padding: 0 5px;">
                            <iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Flanetua&amp;width=310&amp;height=190&amp;show_faces=true&amp;locale=ru_RU&amp;colorscheme=light&amp;stream=false&amp;show_border=false&amp;header=false" scrolling="no" frameborder="0" style="background-color:white; border:none; height:159px; margin: 0; padding: 0; overflow:hidden; width:310px;" allowTransparency="true"></iframe>
                        </div>
                        <div class="g-plus" data-width="320" data-href="https://plus.google.com/115519039944382148134" data-rel="publisher"></div>
                        <script type="text/javascript"> 
                            window.___gcfg = {lang: 'ru'}; 
                        </script>
                    </div>
                </div>
            </div>
        </div>

<?php get_footer(); ?>